Click here to Skip to main content
16,007,443 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Modal Form In Taskbar. Pin
Pete Bassett20-Feb-02 5:36
Pete Bassett20-Feb-02 5:36 
GeneralRe: Modal Form In Taskbar. Pin
David Wengier20-Feb-02 10:13
David Wengier20-Feb-02 10:13 
GeneralCondition Based Maintenance Pin
Victor Itulua18-Feb-02 21:00
Victor Itulua18-Feb-02 21:00 
Generalprinting form content into a PictureBox Pin
tppradeep1815-Feb-02 19:33
tppradeep1815-Feb-02 19:33 
GeneralRe: printing form content into a PictureBox Pin
alex.barylski16-Feb-02 14:50
alex.barylski16-Feb-02 14:50 
GeneralDLL Function in VB Pin
Tim Rymer15-Feb-02 10:01
Tim Rymer15-Feb-02 10:01 
GeneralRe: DLL Function in VB Pin
Volodya Orlenko17-Feb-02 23:04
Volodya Orlenko17-Feb-02 23:04 
GeneralRe: DLL Function in VB Pin
Tim Rymer18-Feb-02 4:16
Tim Rymer18-Feb-02 4:16 
Ok, well first I created an ATL COM AppWizard .dll,
and then created an ATL Object.

Then in CMyObject(not IMyObject) I created a function that had a BSTR for a parameter (just input) and i tried setting the return value to "void _stdcall" and "void __declspec(dllexport)"

and then going into the .def file, i added the appropriate function names and added the "@number" after each, but when i run it in my VB program, and debug the dll from VC++, it will either have "" <-- nothing in the string (and i've debugged from vb and there is stuff passed in) or mumbojumbo that either looks like:
"?????????????????????????"
or
"?[the return character] <-- this repeated a bunch"

and then it'll crash when i close it or whatever.

I'm trying it in a regular dll now, but i would rather just make the small changes to the object's functions. Any help would be grand! I'm glad someone else has at least had this happen before, so any help/advise is awesome thanks



~Timothy T. Rymer

www.digipen.edu
tim.xpertz.com
GeneralRe: DLL Function in VB Pin
Volodya Orlenko18-Feb-02 5:30
Volodya Orlenko18-Feb-02 5:30 
GeneralRead This Pin
Tim Rymer18-Feb-02 5:53
Tim Rymer18-Feb-02 5:53 
GeneralRe: Read This Pin
Volodya Orlenko18-Feb-02 6:10
Volodya Orlenko18-Feb-02 6:10 
GeneralRe: Read This Pin
Tim Rymer18-Feb-02 7:02
Tim Rymer18-Feb-02 7:02 
GeneralRe: Read This Pin
Volodya Orlenko18-Feb-02 7:09
Volodya Orlenko18-Feb-02 7:09 
GeneralSecuring (Licenscing) and ActiveX DLL Pin
noirs12-Feb-02 10:31
noirs12-Feb-02 10:31 
GeneralRe: Securing (Licenscing) and ActiveX DLL Pin
alex.barylski16-Feb-02 14:45
alex.barylski16-Feb-02 14:45 
GeneralWebBrowser Control (version 4 and 5 compatibility) Pin
noirs12-Feb-02 10:29
noirs12-Feb-02 10:29 
Generalfind and replace (simple VBA) Pin
12-Feb-02 6:39
suss12-Feb-02 6:39 
GeneralRe: find and replace (simple VBA) Pin
Volodya Orlenko17-Feb-02 23:16
Volodya Orlenko17-Feb-02 23:16 
Generalcopying objects - newbie question Pin
10-Feb-02 19:40
suss10-Feb-02 19:40 
GeneralRe: copying objects - newbie question Pin
Jeremy Falcon18-Feb-02 9:57
professionalJeremy Falcon18-Feb-02 9:57 
GeneralRe: copying objects - newbie question Pin
Klaus Probst28-Feb-02 10:54
Klaus Probst28-Feb-02 10:54 
GeneralRenaming Developer Studio Toolbars by VB Hooks Pin
6-Feb-02 17:51
suss6-Feb-02 17:51 
GeneralVisual Basic application----Please Help!! Pin
peregrinus6-Feb-02 9:00
peregrinus6-Feb-02 9:00 
GeneralRe: Visual Basic application----Please Help!! Pin
6-Feb-02 11:51
suss6-Feb-02 11:51 
GeneralRe: Visual Basic application----Please Help!! Pin
tppradeep1812-Feb-02 23:10
tppradeep1812-Feb-02 23:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.