The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 external DLL is not freed after end of program

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
MonT Posted - 10/30/2013 : 03:53:58 AM
Origin Ver. 7 and Service Release 0 (Select Help-->About Origin):
Operating System: Win 7

Sorry for posting this question in the wrong section. Here is it again at the right place:

I use an external dll to retrieve values for a fitting function.
This works in principle, but when i want to make changes to the external dll
i have to quit origin, compile the dll again and restart origin again.
If i don't restart origin, the dll is still write protected so the external compiler
cannot update it. This is really annoying.
Is there a solution to this obvious origin bug?
1   L A T E S T    R E P L I E S    (Newest First)
Castiel Posted - 10/30/2013 : 11:38:54 AM
Say, c:\FitFunc.dll is not a resource-only dll, then you might execute the following LabTalk script to unload it:
dll -rc c:\FitFunc.dll


Not sure if it works in such an old version as 7...

©c¡Ï   ¤È¥¹  ©f¨u©c  ©c¥ì    ¥Î¤³  ©c/     ©¦£¯
 ©c¨Ê¥Î ¤´¥¨  ¥ó ¨×   ¥ó¤á' ¥Ì©¦¥­   /¤í  ¥Õ©¦©f
   ¨Ö             ¦á          ©¦£þ  ©` ¥Õ   ©¦
                              ©¦

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000