|
-
Apr 26th, 2002, 12:45 AM
#1
Thread Starter
Hyperactive Member
strange problem
i know i m doing this thing wrong.. but i m desperate for answers.. if i found no soloution i have to formate my PC
here is my problem which i have posted a while ago in general section of this forum... then i though this question belongs to here i think.. n e ways below is my problem
am having a very stange problem.. which is making me insane...
i have built some dll and register it.. then i used them in my application after making the apllication i found that there is more to be done with dll .. so i opend the class file n make changes n agian complie and and set its refrence to my application..
first this procedure works fine.. but when i repeatedly did that .. i start giving me errors some time AUtomation error and some time Type mismatch error.. whhat i did then .. i went to class file again.. recompile it(even i havent made n e changes) ... remove the refrence of that dll from my application and again set the refrence that dll after recompiling it and strange enough this procedure works well..
but now.. this procedure is not woking and its giving me error and this time only one error TYPE MISMATCH....
i have cheked my code by adding classes to my application instead of dll its working fine but the dll is rasing error.. n e soloution to this .....
-
Apr 26th, 2002, 12:49 AM
#2
-
Apr 26th, 2002, 12:53 AM
#3
What you need to do is have both projects running at the same time - that way u can debug both.
Open the project file that references the dll, click on File and then Add Project. Browse to the project file for the Dll and double click it. In the project explorer window, right click on the main project (the application) and click on the Set as Startup option.
Start the project with a full compile (Ctrl-F5), and do whatever causes the error again - i'm willing to place bets that VB will take you to the Dll project & show where the error is raised.
-
Apr 26th, 2002, 01:12 AM
#4
Thread Starter
Hyperactive Member
no its not doing
i have done what you have said anxion but its not working at all.. i have said that when i include the class files in project it work fine and the moment i complile and set its dll refrence this error pops up..
-
Apr 26th, 2002, 01:58 AM
#5
PowerPoster
So it only happens after it's compiled?
Have you tried running it as full compile for the IDE?(Ctrl+F5)
It could be something in the compiler. What Compile settings are you using?
Try compiling with Native COde and Select No Optimization and then try it. If you still get the error then you know it's not a compiler problem but a Code problem.
Last edited by Arc; Apr 26th, 2002 at 02:22 AM.
-We have enough youth. How about a fountain of "Smart"?
-If you can read this, thank a teacher....and since it's in English, thank a soldier.

-
Apr 26th, 2002, 06:07 AM
#6
Thread Starter
Hyperactive Member
yeh thanks to GOD and you ppl
yeh i have figuered our that .. that was a binary compatibility issue .. once i resolved it it stop giving me problems....
thanks for all your time and concern...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|