Dll created in visual studion with /CLR option won't load by cvi
i have created a small dll, which holds 1 exported function.
The dll is created in VisualStudio2008, sp1
With option /CLR, targetting .NET framework 2.0
The export is like below:
extern "C" int __declspec(dllexport) __stdcall testHelloWorld(void)
System::Console::WriteLine("Hello world") ;
System::Console::WriteLine("Hit the any key") ;
System::Console::ReadKey() ;
return 0 ;
The following code should run this dll, from cvi 9.0.1 (375)
extern int __stdcall testHelloWorld(void) ;
typedef int (__stdcall * HelloWorldPtr) (void) ;
void main(void)
{ HMODULE hLib = 0 ;
HelloWorldPtr doit ;
SetStdioPort (HOST_SYSTEM_STDIO);
SetStdioWindowVisibility (1);
hLib = LoadLibrary("CppTestClr.DLL") ;
(FARPROC)doit = GetProcAddress(hLib,"_testHelloWorld@0");
doit() ;
// testHelloWorld();
When i run the dll with run time linkage (as show above) there is no error, all ok.
When i try to run the dll with load time linkage (line 'testHelloWordld' linked-in ),
cvi shows an error 'A non-debuggable thread caused a general protection fault at address...'.
This message is shown before the main function is reached.
Visual studio has no problem in running the code from a win32 console application.
Labview runs the code without problems.
Why won't cvi load the dll ??
tnx.
nickb wrote:
A solution will be available, but due to the complexity of this issue LabWindows/CVI 2010 will not work for you out of the box - a configuration will have to be made. I've made a note to come back and update this post when LabWindows/CVI 2010 releases with instructions concerning this configuration.
NickB
National Instruments
I'm an SSP member, so i'll receive the new version automatically.
Maybe it's a good idea to also create an entry in the release notes of version 2010.
These are my first attempts in using c++ dll's as a .NET wrapper for cvi.
But it looks very promising. Comparing to the .NET wrappers in cvi it's much more convenient (native way of working).
I would like to be able to use this as a generic way of working.
Similar Messages
-
Netbeans visual web app design tab won't load?
Is there anybody that has the following problem when trying to start a new visual web application in Netbeans 6? If so, could you help me fix the problem?
Every time I try a new visual web application in Netbeans, the design tab won't load and I get an error message. I can use the Java tab and the JSP tab with no problems. It's just that the design tab says "please wait loading" but it nothing ever shows up. I can basically do everything else, except for dragging things from the palette to the design tab. The error message is:
java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory;
at org.apache.jasper.runtime.JspApplicationContextImpl.getExpressionFactory(JspApplicationContextImpl.java:80)
at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:1595)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:419)
at org.netbeans.modules.visualweb.jsfsupport.container.RaveConfigureListener.contextInitialized(RaveConfigureListener.java:93)
at org.netbeans.modules.visualweb.jsfsupport.container.FacesContainer.initialize(FacesContainer.java:182)
at org.netbeans.modules.visualweb.jsfsupport.container.FacesContainer.<init>(FacesContainer.java:130)
at org.netbeans.modules.visualweb.insync.models.FacesModelSet.getFacesContainer(FacesModelSet.java:497)
at org.netbeans.modules.visualweb.insync.models.FacesModelSet.<init>(FacesModelSet.java:403)
Caused: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.netbeans.modules.visualweb.insync.ModelSet.createInstance(ModelSet.java:257)
Caused: java.lang.RuntimeException
at org.netbeans.modules.visualweb.insync.ModelSet.createInstance(ModelSet.java:261)
at org.netbeans.modules.visualweb.insync.ModelSet.getInstance(ModelSet.java:242)
at org.netbeans.modules.visualweb.insync.ModelSet$1.run(ModelSet.java:209)
[catch] at java.lang.Thread.run(Thread.java:619)Hello,
Adobe has provided these things:
Creative Cloud Help/Troubleshoot download and install issues
https://helpx.adobe.com/creative-cloud/kb/troubleshoot-cc-installation-download.html
and: Creative Cloud Help/App doesn’t open; progress wheel spins continually
http://helpx.adobe.com/creative-cloud/kb/creative-cloud-app-doesnt-open.html
If necessary and for further questions click through http://helpx.adobe.com/contact.html and if "open" please use chat, I had the best experiences. I quote from Adobe's employee Preran: The chat button is activated as soon as there is an agent available to help.
Please have a look there, good luck!
Hans-Günter -
Can I use a dll created in Visual Basic 2010?
I am reading up on the new extention system for air 3.0.
I have successfully (I think) managed to integrate the Air 3.0 prerelease into Flash CS5.5 (I don't use flex or flash builder)
So now I am trying to read up and learn how to use extentions.
Now, I don't know C/C++. My experience with it has been very limited over the years. But I know visual basic pretty well as I have been using that since VB4. (back in the programming stone age, heh)
Right now, I have Visual Studio 2010 and Flash CS5.5.
I am developing for the iPhone and iPad and up until now I have created a working iOS application that works pretty well.
Can I create a dll in visual basic (A class library) and then use the extention system to load that into my application to run on the iOS mobile device?I thought I'd seen this question asked somewhere before, but I can't find the thread. In theory there should be no problem. However, you'll need to have both the LabVIEW 5.1 and LabVIEW 8.6 run-time engines installed, and I don't know if there are any operating systems on which both of those versions are supported. If the run-time engine is properly installed, then calling a LabVIEW-built DLL is just like calling any other DLL. There might be some special optimization if the calling application and DLL both use the same version of the run-time engine.
-
I would like to create a subscription page for my Muse site with different subscription choices, but I am not sure if it is possible or, if it is how I should construct it. Any ideas?
Hi
This can be done from hosting platform end. If you are using Business Catalyst to host your site , then you can use events module, campaign subscriptions , secure zone subscriptions etc.
You can create the events/announcements on BC end and then add the module in Muse page which on publish will show the modules on page.
Thanks,
Sanjit -
Lightdm with unity-greeter won't load
I've been attempting to install lightdm and the unity greeter, and I'm a bit stuck here.
I've installed the lightdm-ubuntu and lightdm-unity-greeter packages from the AUR. It starts up normally, but there is no gear available to choose session type, and logging in causes the DM to just restart and go back to the logon page.
I was able to use lightdm and lightdm-gtk-greeter successfully. Also, running startx from another tty successfully starts my session (in my case, xmonad). I've attached my configuration files and log files, in case anyone can make heads or tails of them.
File dump follows!
Here's my etc/lightdm/lightdm.conf:
# General configuration
# start-default-seat = True to always start one seat if none are defined in the configuration
# greeter-user = User to run greeter as
# minimum-display-number = Minimum display number to use for X servers
# minimum-vt = First VT to run displays on
# lock-memory = True to prevent memory from being paged to disk
# user-authority-in-system-dir = True if session authority should be in the system location
# guest-account-script = Script to be run to setup guest account
# log-directory = Directory to log information to
# run-directory = Directory to put running state in
# cache-directory = Directory to cache to
# xsessions-directory = Directory to find X sessions
# remote-sessions-directory = Directory to find remote sessions
# xgreeters-directory = Directory to find X greeters
[LightDM]
#start-default-seat=true
#greeter-user=lightdm
#minimum-display-number=0
#minimum-vt=7
#lock-memory=true
#user-authority-in-system-dir=false
#guest-account-script=guest-account
#log-directory=/var/log/lightdm
#run-directory=/var/run/lightdm
#cache-directory=/var/cache/lightdm
xsessions-directory=/usr/share/xsessions
#remote-sessions-directory=/usr/share/lightdm/remote-sessions
#xgreeters-directory=/usr/share/xgreeters
# Seat defaults
# type = Seat type (xlocal, xremote)
# xserver-command = X server command to run (can also contain arguments e.g. X -special-option)
# xserver-layout = Layout to pass to X server
# xserver-config = Config file to pass to X server
# xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
# xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true)
# xdmcp-port = XDMCP UDP/IP port to communicate on
# xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf)
# greeter-session = Session to load for greeter
# greeter-hide-users = True to hide the user list
# greeter-allow-guest = True if the greeter should show a guest login option
# greeter-show-manual-login = True if the greeter should offer a manual login option
# greeter-show-remote-login = True if the greeter should offer a remote login option
# user-session = Session to load for users
# allow-guest = True if guest login is allowed
# guest-session = Session to load for guests (overrides user-session)
# session-wrapper = Wrapper script to run session with
# display-setup-script = Script to run when starting a greeter session (runs as root)
# greeter-setup-script = Script to run when starting a greeter (runs as root)
# session-setup-script = Script to run when starting a user session (runs as root)
# session-cleanup-script = Script to run when quitting a user session (runs as root)
# autologin-guest = True to log in as guest by default
# autologin-user = User to log in with by default (overrides autologin-guest)
# autologin-user-timeout = Number of seconds to wait before loading default user
# autologin-session = Session to load for automatic login (overrides user-session)
# exit-on-failure = True if the daemon should exit if this seat fails
[SeatDefaults]
type=xlocal
xserver-command=X
#xserver-layout=
#xserver-config=
#xserver-allow-tcp=false
#xdmcp-manager=
#xdmcp-port=177
#xdmcp-key=
#greeter-session=lightdm-unity-greeter
#greeter-hide-users=false
#greeter-allow-guest=true
#greeter-show-manual-login=false
#greeter-show-remote-login=true
user-session=XMonad
#allow-guest=true
#guest-session=UNIMPLEMENTED
#session-wrapper=lightdm-session
#display-setup-script=
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
#autologin-user=
#autologin-user-timeout=0
#autologin-session=UNIMPLEMENTED
#exit-on-failure=false
# Seat configuration
# Each seat must start with "Seat:".
# Uses settings from [SeatDefaults], any of these can be overriden by setting them in this section.
#[Seat:0]
# XDMCP Server configuration
# enabled = True if XDMCP connections should be allowed
# port = UDP/IP port to listen for connections on
# key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf)
# The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn. Alternatively
# it can be a word and the first 7 characters are used as the key.
greeter-session=unity-greeter
[XDMCPServer]
#enabled=false
#port=177
#key=
# VNC Server configuration
# enabled = True if VNC connections should be allowed
# port = TCP/IP port to listen for connections on
[VNCServer]
#enabled=false
#port=5900
#width=1024
#height=768
#depth=8
My contents of /usr/share/xsessions:
$ ls /usr/share/xsessions
xmonad.desktop
/usr/share/xsessions/xmonad.desktop
[Desktop Entry]
Encoding=UTF-8
Name=XMonad
Comment=Lightweight tiling window manager
Exec=xmonad
Icon=xmonad.png
Type=XSession
And the log files, after boot and one log on attempt:
/var/log/lightdm/lightdm.log
[+0.03s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.03s] DEBUG: Starting Light Display Manager 1.4.0, UID=0 PID=355
[+0.03s] DEBUG: Loaded configuration from /etc/lightdm/lightdm.conf
[+0.03s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.27s] DEBUG: Registered seat module xlocal
[+0.27s] DEBUG: Registered seat module xremote
[+0.27s] DEBUG: Adding default seat
[+0.27s] DEBUG: Starting seat
[+0.27s] DEBUG: Starting new display for greeter
[+0.27s] DEBUG: Starting local X display
[+0.31s] DEBUG: Could not run plymouth --ping: Failed to execute child process "plymouth" (No such file or directory)
[+0.31s] DEBUG: Using VT 7
[+0.31s] DEBUG: Activating VT 7
[+0.36s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+0.43s] DEBUG: Writing X server authority to /var/run/lightdm/root/:0
[+0.43s] DEBUG: Launching X Server
[+0.43s] DEBUG: Launching process 368: /usr/bin/X :0 -core -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.44s] DEBUG: Waiting for ready signal from X server :0
[+0.44s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.44s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+2.46s] DEBUG: Got signal 10 from process 368
[+2.46s] DEBUG: Got signal from X server :0
[+2.46s] DEBUG: Connecting to XServer :0
[+2.51s] DEBUG: Starting greeter
[+2.51s] DEBUG: Started session 387 with service 'lightdm-greeter', username 'lightdm'
[+3.33s] DEBUG: Session 387 authentication complete with return value 0: Success
[+3.33s] DEBUG: Greeter authorized
[+3.33s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
[+3.38s] DEBUG: Session 387 running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
[+4.53s] DEBUG: Greeter connected version=1.4.0
[+4.53s] DEBUG: Greeter connected, display is ready
[+4.53s] DEBUG: New display ready, switching to it
[+4.53s] DEBUG: Activating VT 7
[+5.34s] DEBUG: Greeter start authentication for jabenze
[+5.34s] DEBUG: Started session 424 with service 'lightdm', username 'jabenze'
[+5.36s] DEBUG: Greeter start authentication for jabenze
[+5.36s] DEBUG: Session 424: Sending SIGTERM
[+5.36s] DEBUG: Started session 426 with service 'lightdm', username 'jabenze'
[+5.36s] DEBUG: Session 424 terminated with signal 15
[+5.36s] DEBUG: Session 424 failed during authentication
[+5.39s] DEBUG: Session 426 got 1 message(s) from PAM
[+5.39s] DEBUG: Prompt greeter with 1 message(s)
[+13.53s] DEBUG: Continue authentication
[+13.55s] DEBUG: Session 426 authentication complete with return value 0: Success
[+13.55s] DEBUG: Authenticate result for user jabenze: Success
[+13.56s] DEBUG: User jabenze authorized
[+13.56s] DEBUG: Greeter requests session ubuntu
[+13.56s] DEBUG: Using session ubuntu
[+13.56s] DEBUG: Stopping greeter
[+13.56s] DEBUG: Session 387: Sending SIGTERM
[+13.59s] DEBUG: Greeter closed communication channel
[+13.59s] DEBUG: Session 387 exited with return value 0
[+13.59s] DEBUG: Greeter quit
[+13.60s] DEBUG: Dropping privileges to uid 1000
[+13.60s] DEBUG: Calling setresgid
[+13.60s] DEBUG: Calling setresuid
[+13.62s] DEBUG: Restoring privileges
[+13.62s] DEBUG: Calling setresuid
[+13.62s] DEBUG: Calling setresgid
[+13.63s] DEBUG: Dropping privileges to uid 1000
[+13.63s] DEBUG: Calling setresgid
[+13.63s] DEBUG: Calling setresuid
[+13.63s] DEBUG: Writing /home/jabenze/.dmrc
[+13.70s] DEBUG: Restoring privileges
[+13.70s] DEBUG: Calling setresuid
[+13.70s] DEBUG: Calling setresgid
[+13.73s] DEBUG: Failed to load session file /usr/share/xsessions/ubuntu.desktop: No such file or directory
[+13.73s] DEBUG: Failed to start greeter
[+13.73s] DEBUG: Stopping display
[+13.73s] DEBUG: Session 426: Sending SIGTERM
[+13.73s] DEBUG: Session 426 terminated with signal 15
[+13.73s] DEBUG: User session quit
[+13.73s] DEBUG: Sending signal 15 to process 368
[+14.28s] DEBUG: Process 368 exited with return value 0
[+14.28s] DEBUG: X server stopped
[+14.28s] DEBUG: Removing X server authority /var/run/lightdm/root/:0
[+14.28s] DEBUG: Releasing VT 7
[+14.28s] DEBUG: Display server stopped
[+14.28s] DEBUG: Display stopped
[+14.28s] DEBUG: Active display stopped, switching to greeter
[+14.28s] DEBUG: Switching to greeter
[+14.28s] DEBUG: Starting new display for greeter
[+14.28s] DEBUG: Starting local X display
[+14.28s] DEBUG: Using VT 7
[+14.28s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+14.28s] DEBUG: Writing X server authority to /var/run/lightdm/root/:0
[+14.28s] DEBUG: Launching X Server
[+14.28s] DEBUG: Launching process 463: /usr/bin/X :0 -core -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+14.28s] DEBUG: Waiting for ready signal from X server :0
[+14.88s] DEBUG: Got signal 10 from process 463
[+14.88s] DEBUG: Got signal from X server :0
[+14.88s] DEBUG: Connecting to XServer :0
[+14.88s] DEBUG: Starting greeter
[+14.88s] DEBUG: Started session 468 with service 'lightdm-greeter', username 'lightdm'
[+14.90s] DEBUG: Session 468 authentication complete with return value 0: Success
[+14.90s] DEBUG: Greeter authorized
[+14.90s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
[+14.90s] DEBUG: Session 468 running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
[+15.01s] DEBUG: Greeter connected version=1.4.0
[+15.01s] DEBUG: Greeter connected, display is ready
[+15.01s] DEBUG: New display ready, switching to it
[+15.01s] DEBUG: Activating VT 7
[+15.01s] DEBUG: Stopping greeter display being switched from
[+15.10s] DEBUG: Greeter start authentication for jabenze
[+15.10s] DEBUG: Started session 500 with service 'lightdm', username 'jabenze'
[+15.11s] DEBUG: Session 500 got 1 message(s) from PAM
[+15.11s] DEBUG: Prompt greeter with 1 message(s)
[+15.15s] DEBUG: Greeter start authentication for jabenze
[+15.15s] DEBUG: Session 500: Sending SIGTERM
[+15.15s] DEBUG: Started session 502 with service 'lightdm', username 'jabenze'
[+15.15s] DEBUG: Session 500 terminated with signal 15
[+15.15s] DEBUG: Session 500 failed during authentication
[+15.15s] DEBUG: Session 502 got 1 message(s) from PAM
[+15.15s] DEBUG: Prompt greeter with 1 message(s)
/var/log/lightdm/x-0-greeter.log:
** (process:468): WARNING **: Failed to open CK session: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files
Activating service name='org.a11y.atspi.Registry'
[+0.00s] DEBUG: unity-greeter.vala:438: Starting unity-greeter 12.10.4 UID=999 LANG=(null)
[+0.00s] DEBUG: unity-greeter.vala:441: Setting cursor
Successfully activated service 'org.a11y.atspi.Registry'
[+0.00s] DEBUG: unity-greeter.vala:455: Loading command line options
[+0.00s] DEBUG: unity-greeter.vala:483: Setting GTK+ settings
** (at-spi2-registryd:490): WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (at-spi2-registryd:490): WARNING **: Unable to register client with session manager
[+0.04s] DEBUG: unity-greeter.vala:506: Creating Unity Greeter
[+0.04s] DEBUG: unity-greeter.vala:55: Creating background surface
[+0.04s] DEBUG: Connecting to display manager...
[+0.04s] DEBUG: Wrote 17 bytes to daemon
[+0.04s] DEBUG: Read 8 bytes from daemon
[+0.04s] DEBUG: Read 149 bytes from daemon
[+0.04s] DEBUG: Connected version=1.4.0 default-session=XMonad show-manual-login=false hide-users=false has-guest-account=true show-remote-login=true
[+0.06s] DEBUG: menubar.vala:342: LANG=(null) LANGUAGE=(null)
[+0.06s] WARNING: File '/usr/lib/indicators3/7/libsession.so' does not exist.
[+0.06s] WARNING: File '/usr/lib/indicators3/7/libdatetime.so' does not exist.
[+0.06s] WARNING: File '/usr/lib/indicators3/7/libpower.so' does not exist.
[+0.06s] WARNING: File '/usr/lib/indicators3/7/libsoundmenu.so' does not exist.
[+0.06s] WARNING: File '/usr/lib/indicators3/7/libapplication.so' does not exist.
[+0.06s] DEBUG: menubar.vala:360: LANG=(null) LANGUAGE=(null)
[+0.07s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.07s] DEBUG: Loading user /org/freedesktop/Accounts/User1000
[+0.08s] DEBUG: Loading sessions from org.freedesktop.DisplayManager
[+0.08s] DEBUG: user-list.vala:950: Adding/updating user jabenze ()
[+0.08s] WARNING: Could not get accounts property XKeyboardLayouts
[+0.08s] WARNING: Could not get accounts property XHasMessages
[+0.08s] CRITICAL: g_variant_get_type: assertion `value != NULL' failed
[+0.08s] CRITICAL: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed
[+0.08s] CRITICAL: g_variant_get_type_string: assertion `value != NULL' failed
[+0.08s] WARNING: Unexpected accounts property type for XHasMessages: (null)
[+0.08s] CRITICAL: g_variant_unref: assertion `value != NULL' failed
[+0.08s] WARNING: Could not get accounts property XKeyboardLayouts
[+0.08s] WARNING: Could not get accounts property XHasMessages
[+0.08s] CRITICAL: g_variant_get_type: assertion `value != NULL' failed
[+0.08s] CRITICAL: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed
[+0.08s] CRITICAL: g_variant_get_type_string: assertion `value != NULL' failed
[+0.08s] WARNING: Unexpected accounts property type for XHasMessages: (null)
[+0.08s] CRITICAL: g_variant_unref: assertion `value != NULL' failed
[+0.08s] WARNING: Could not get accounts property XKeyboardLayouts
[+0.08s] WARNING: Could not get accounts property XHasMessages
[+0.08s] CRITICAL: g_variant_get_type: assertion `value != NULL' failed
[+0.08s] CRITICAL: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed
[+0.08s] CRITICAL: g_variant_get_type_string: assertion `value != NULL' failed
[+0.08s] WARNING: Unexpected accounts property type for XHasMessages: (null)
[+0.08s] CRITICAL: g_variant_unref: assertion `value != NULL' failed
[+0.08s] DEBUG: user-list.vala:932: Adding guest account entry
[+0.13s] DEBUG: Loaded session /usr/share/xsessions/xmonad.desktop (XMonad, Lightweight tiling window manager)
[+0.13s] WARNING: Failed to open sessions directory: Error opening directory '/usr/share/lightdm/remote-sessions': No such file or directory
[+0.13s] DEBUG: Starting authentication for user jabenze...
[+0.13s] DEBUG: Wrote 23 bytes to daemon
[+0.18s] DEBUG: Starting authentication for user jabenze...
[+0.18s] DEBUG: Wrote 23 bytes to daemon
[+0.18s] DEBUG: main-window.vala:176: Screen is 3840x1080 pixels
[+0.18s] DEBUG: main-window.vala:182: Monitor 0 is 1920x1080 pixels at 0,0
[+0.18s] DEBUG: main-window.vala:182: Monitor 1 is 1920x1080 pixels at 1920,0
[+0.18s] DEBUG: unity-greeter.vala:509: Showing greeter
[+0.18s] DEBUG: unity-greeter.vala:198: Showing main window
[+0.21s] DEBUG: background.vala:470: Regenerating backgrounds
[+0.21s] DEBUG: background.vala:68: Making background /usr/share/backgrounds/warty-final-ubuntu.png at 1920x1080
[+0.21s] WARNING: unity-greeter.vala:523: Error starting nm-applet: Failed to execute child process "nm-applet" (No such file or directory)
[+0.21s] DEBUG: unity-greeter.vala:527: Starting main loop
[+0.21s] DEBUG: Read 8 bytes from daemon
[+0.21s] DEBUG: Read 37 bytes from daemon
[+0.21s] DEBUG: Ignoring prompt authentication with invalid sequence number 1
[+0.21s] DEBUG: settings-daemon.vala:97: Could not start gnome-settings-daemon over DBus: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SettingsDaemon was not provided by any .service files
[+0.27s] DEBUG: Setting keyboard layout to 'us'
[+0.29s] DEBUG: Read 8 bytes from daemon
[+0.29s] DEBUG: Read 37 bytes from daemon
[+0.29s] DEBUG: Prompt user with 1 message(s)
[+0.32s] DEBUG: unity-greeter.vala:181: starting system-ready sound
[+0.38s] DEBUG: background.vala:117: Render of background /usr/share/backgrounds/warty-final-ubuntu.png complete
/var/log/lightdm/x-0.log
X.Org X Server 1.13.1
Release Date: 2012-12-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.7.0-1-ARCH x86_64
Current Operating System: Linux frankie 3.6.10-1-ARCH #1 SMP PREEMPT Tue Dec 11 09:40:17 CET 2012 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=51606072-17ca-431e-a2bf-ba739d1cfeb1 ro quiet
Build Date: 16 December 2012 04:45:14PM
Current version of pixman: 0.28.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 26 13:36:33 2012
(==) Using config directory: "/etc/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
Loading extension NV-GLX
Loading extension NV-CONTROL
Loading extension XINERAMAI am also stuck on this. I get pretty much the exact same result. Until I figure it out I'll be doing the quick startx.
-
Iod Touch Problem with January Update - Won't load!! Tried Everything/
Dear all, Just thought I'd try my luck here for some help on the January upgrade. I'm experiencing all of the problems that everyone else are having but the usual fixes don't work. So I've upgraded my Touch to 1.1.3 and Itunes to 7.6.
The Download button wasnt visible so I reset my Touch. I was then able to purchase the touch and it downloaded. Then nothing. I had oricinally Synced with a different computer and had manual Syncronisation enabled. So, I reset my Touch again, set it to auto Sync and rebooted, re-synced, everything. Hours of trying different variations of restoring, syncing, etc. When I put my Ipod back in the cradle, I go to the purchase upgrade screen. If I hit "No Thanks, I get an error. If I try to purchase again, I get the message that it's already purchased. I've checked my download history and the upgrade is listed there.
I'm a windows/Intel guy and was starting to realise how cool Apple stuff was but well, now I think I'm starting to come back around.
Any suggestions ? Thanks to all and good luck!Hi EC, thanks for the suggestion. Unfortunately, that doesn't work either. I've tried on two diferent computers too. Itunes 7.6 install, reset Touch, reinstall software, sync and no luck. I've double checked that my computer is authorised an that the January upgrade is in my purchase history. Even reset my touch via iTunes and via the Settings panel on the Ipod.
The only thing left that I can think of is to create a new account and re-purchase the upgrade. However, Im still not totally at ease with paying for an upgrade 2 weeks after the purchase, and Im not ready to pay for it twice.
Apple are you guys really this bad at running a business ? I will certainly with-hold purchasing any new product of yours in the future.
Cheers
RS -
Cat-4506 with Sup II+ won't load new IOS
I'm trying to upgrade the IOS on my 4506 SUP II+ (WS-X4013+) to 12.2(31)SG from 12.2(25)EWA5.
Here are the boot commands and what is in bootflash: and the error during boot:
boot system flash slot0:cat4500-ipbasek9-mz.122-31.SG.bin
boot system flash slot0:cat4000-i9k91s-mz.122-25.EWA5.bin
Configuration register is 0x2102
ROC-SW4506-A#sh bootflash:
-#- ED ----type---- --crc--- -seek-- nlen -length- ---------date/time--------- name
1 .. image 8B6309F2 CACAA0 33 13027872 Dec 22 2005 04:24:19 -08:00 cat4000-i9k91s-mz.122-25.EWA5.bin
2 .. image 3D38E47C 1824E28 33 12026632 Jun 2 2006 11:06:21 -07:00 cat4500-ipbasek9-mz.122-31.SG.bin
******** The system will autoboot now ********
config-register = 0x2102
Autobooting using BOOT variable specified file.....
Current BOOT file is --- slot0:cat4500-ipbasek9-mz.122-31.SG.bin
boot: can not load "slot0:cat4500-ipbasek9-mz.122-31.SG.bin"
The switch will automatically reboot now...
rommon 1 >
It eventually booted to the older IOS. Is this not a good IOS for this switch?have you tried putting
boot system bootflash:cat4500-ipbasek0-mz.122-31.SG.bin
taking out the slot0:.
This how I have my 4507 and 4503 configured.
http://www.cisco.com/en/US/products/hw/switches/ps663/products_configuration_example09186a00801461ef.shtml -
Cd-rom with classic program won't load after installing classic
I tried to install a program that said it required classic support, so I installed classic from my installation disk.
Classic seems to be running without any problems, but now when I put in the cd-rom for the software I was trying to install it won't mount.
Other cd's seem to mount fine, but not this one.
Am I missing an extension or driver to mount a cd in OS 9?WithaK, do you mean Classic 9 seems to be running on top of OS X, or that you booted the Mac is pure OS 9, please?
If Classic 9 is running over X, any CD should behave exactly as it did before until perhaps you try to view it from an OS 9 application.
If the Mac is booted in pure OS 9 it might need some format translators so exactly which files in System Folder>Extensions have the words "File Access" on the end of their names, please? -
Creating a primary key with the parallel option and the tablespace option
I know I can create a unique index with these options and then make the primary key with the "using index" clause. anyway to do this and skip the create unique index and just create the primary key ?
SQL> ALTER TABLE t
2 ADD CONSTRAINT pk_t
3 PRIMARY KEY (testcol)
4 USING INDEX
5 TABLESPACE example
6 PARALLEL (DEGREE 2);
PARALLEL (DEGREE 2)
ERROR at line 6:
ORA-03001: unimplemented featureYou can name the tablespace but you must do an alter index thereafter. -
Innput field with Select option on custom screen
Hi,
I need to create an Input field with Select Option(No interval) button on Custom dialog screen .
Is there any idea how can I create it on screen ?
Thanks
Sachincreate a normal inputfield and place an icon next to it. then in the pai on click of that button use the following code.
data: wf_tab_field like rstabfield occurs 0 with header line ,
wf_exl_opt like rsoptions .
refresh: wf_tab_field .
move: 'KOSTL' to wf_tab_field-fieldname ,
'CSKS' to wf_tab_field-tablename .
append wf_tab_field .
clear wf_tab_field .
move: 'X' to wf_exl_opt-bt ,
'X' to wf_exl_opt-cp ,
'X' to wf_exl_opt-ge ,
'X' to wf_exl_opt-gt ,
'X' to wf_exl_opt-le ,
'X' to wf_exl_opt-lt ,
'X' to wf_exl_opt-nb ,
'X' to wf_exl_opt-np .
call function 'COMPLEX_SELECTIONS_DIALOG'
exporting
title = 'Select Cost Centers'
text = 'Cost Center'
* SIGNED = 'X'
* LOWER_CASE = ' '
* NO_INTERVAL_CHECK = ' '
* JUST_DISPLAY = ' '
* JUST_INCL = ' '
excluded_options = wf_exl_opt
* DESCRIPTION =
help_field = 'CSKS-KOSTL'
* SEARCH_HELP = 'KOST'
tab_and_field = wf_tab_field
tables
range = r_kostl
exceptions
no_range_tab = 1
cancelled = 2
internal_error = 3
invalid_fieldname = 4
others = 5
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
if not r_kostl[] is initial .
read table r_kostl index 1 .
if sy-subrc eq 0 .
move: r_kostl-low to wf_t_kostl .
endif .
endif .
wf_t_kostl is the screen field name.
Raja -
Problem crating text index with PREFIX_INDEX option
I am trying to create a text index with prefixes option for use in wildcard search scenarios.
Here is the code I use:
connect CTXSYS/*******
BEGIN
ctx_ddl.create_preference('wildcard_pref', 'BASIC_WORDLIST');
ctx_ddl.set_attribute('wildcard_pref','PREFIX_INDEX','TRUE');
ctx_ddl.set_attribute('wildcard_pref','PREFIX_MIN_LENGTH',3);
ctx_ddl.set_attribute('wildcard_pref','PREFIX_MAX_LENGTH',8);
ctx_ddl.set_attribute('wildcard_pref','SUBSTRING_INDEX','YES');
END;
And preference is created
SELECT PRE_OWNER, PRE_NAME FROM CTXSYS.CTX_PREFERENCES;
PRE_OWNER PRE_NAME
CTXSYS WILDCARD_PREF
CTXSYS DEFAULT_STORAGE
CTXSYS DEFAULT_CLASSIFIER
Now when I log as one of the database users and try to create the index,
I got this:
create index wildcard_idx on MY_Table(Name)
indextype is ctxsys.context
parameters ('WORDLIST wildcard_pref') ;
create index wildcard_idx on MY_Table(Name)
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10700: preference does not exist: wildcard_pref
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 364
What I am doing wrong ? Keep in mind that I was able to create a text index without the prefixes, but a lot of the searches will be based on patial word search.
Eventualy I would also like to make those indexes be tansactional and work as a datastore (multiple column search)
Thanks.
StefanProblem solved.
Atrributes and preferences had to be created by the same user creating the index.
Log as sysdba and
GRANT EXECUTE ON CTX_DDL TO <user_that_creates_index>
And it works.
Message was edited by:
Stef4o -
Hi,
I want to create a WEB page with the option to add comments/create a forum.
Any suggestions on the best software to use?
ThanksIf you're just looking to get up and running with a forum,
PHPBB is probably your best bet:
http://www.phpbb.com/
If you knew how to develop your own forum, chances are you'd
be asking slightly more specific questions, so a prerolled
application like PHPBB should be ideal in your case. ;-) -
How can I debug a DLL created with MS Visual Studio C++ using CVI?
I have developed a DLL using MS Visual Studio C++, which is called by an other application written in CVI.
My goal is to debug the DLL written with C++ when is called from CVI.
So far I have some msg popups, but I would like to have more debugging capabilities.
Thanks, AdalbertHello Adi11,
As documented in the CVI Help under "Debugging DLLs": "In the LabWindows/CVI development environment, you can debug only DLLs you create in LabWindows/CVI with the Create Debuggable Dynamic Link Library command. Other development environments cannot debug DLLs you create in LabWindows/CVI."
This information was also mentioned on the following discussion forum.
Thanks.
Wendy L
LabWindows/CVI Developer Newsletter - ni.com/cvinews -
Required Windows updates to run/load dlls created with Visual C++ 2013
I have dlls created with VS2013 C++. Dlls are statically linked with runtime libraries and therefore do not require the redistributable to run on a machine that does not have VS2013 installed.
I have a test machine with Win7 SP1 64-bit without any windows updates. When I try to load a dll created with VS2013 in an executable on that machine, the code dies. Another test machine with windows 7 SP1 fully updated using windows updates loads the same
dll without a problem and the code runs fine.
My question is which windows updates for Win 7 and Win 8 are necessary for dll created with VS2013 to load and run?
Thanks.I did use dependency walker. In my post above (third post in the thread) I actually state that:
"The code crashes(=dies) on the machine without windows updates. I used dependency walker and there are no missing dlls.
Even if there were missing dlls, which there are none, those would be system dlls, because a machine with fully up to date Win7 loads and executes the code without a problem."
The dll is statically linked (/Mt flag was used). For a good measure I installed redistributable which did not solve the problem. Besides static linking applies to runtime dlls, not the system dlls. -
My project requires me to convert a C++ program to a DLL and having it called by LabVIEW. Due to the complexity of this C++ program (converted from fortran using f2c -C++ option), it cannot be compiled without using /clr option. I did build the application standalone (/clr), and it functioned fine. When I build it into DLL using VS2005, I was forced to use No Entry point option and without using DllMain in the C++ code. Eventually the DLL was built without error. But after I call it from LabVIEW, I was not getting calculated results as expected. I added a testing function to the C++ code of the DLL and just try to modify a parameter, it will not, but only return the input numbers. I was passing data by pointer and not by value, so I expect this parameter output be modified. I suspect that the DLL didnt get executed at all as it has no entry point specified.
Am I on the right track to approach this task, or I am heading to totally wrong direction here? I believe due to the fact that my C++ was from f2c and use vsf2c.lib and so on, the code is managed code, so that a regular DLL cannot be built from it with an entry point. How can LabVIEW call such a DLL? Am I right on that? I really need your advice here for a right approach to this problem and possible implementation "watch outs"...Thanks!
BryanHi...Finally I was able to compile my code with an entry point defined and without using /clr. I can also call this DLL from LV and got back a variable from a little test function added to the DLL. But the function that was used for my main application in the DLL crashed LV and I got a pop up box from Microsoft Visual C++ Runtime Library: Runtime Error! "This application has requested the Runtime to terminate it in an unusual way, please contact the application's support team for more information". In Visual Studio I also got the following message: (I eliminated most of the "No symbols loaded" messages that are not errors but just info.) I would apprciate if someone can take to look with your more "experienced eyes", many thanks! Bryan.
'LabVIEW.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll', No symbols loaded.
'LabVIEW.exe': Loaded 'C:\WINDOWS\system32\xpsp2res.dll', Binary was not built with debug information.
'LabVIEW.exe': Loaded 'C:\Program Files\National Instruments\Shared\nicont.dll', Binary was not built with debug information.
'LabVIEW.exe': Loaded 'C:\Program Files\National Instruments\Shared\NICONTDT.dll', Binary was not built with debug information.
'LabVIEW.exe': Loaded 'C:\Program Files\National Instruments\LabVIEW 8.5\resource\nitaglv.dll', No symbols loaded.
'LabVIEW.exe': Loaded 'C:\WINDOWS\system32\lkbrow.dll', No symbols loaded.
'LabVIEW.exe': Loaded 'C:\WINDOWS\system32\lkrealt.dll', No symbols loaded.
'LabVIEW.exe': Loaded 'C:\Program Files\National Instruments\LabVIEW 8.5\resource\Framework\Providers\lvdaq.mxx', No symbols loaded.
'LabVIEW.exe': Loaded 'C:\Program Files\National Instruments\LabVIEW 8.5\resource\Framework\Providers\lvdesktop.mxx', No symbols loaded.
'LabVIEW.exe': Loaded 'C:\Program Files\National Instruments\LabVIEW 8.5\resource\Framework\Providers\lvfp.mxx', No symbols loaded.
'LabVIEW.exe': Loaded 'C:\WINDOWS\system32\mfc71.dll', No symbols loaded.
'LabVIEW.exe': Loaded 'C:\WINDOWS\system32\MFC71ENU.DLL', Binary was not built with debug information.
'LabVIEW.exe': Loaded 'C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\FieldPoint\SubVIs\FPLVMgr.dll', Binary was not built with debug information.
'LabVIEW.exe': Loaded 'C:\Program Files\National Instruments\LabVIEW 8.5\resource\Framework\Providers\lvfprt.mxx', No symbols loaded.
'LabVIEW.exe': Loaded 'C:\Program Files\National Instruments\LabVIEW 8.5\resource\Framework\Providers\LvProjectProxy.mxx', No symbols loaded.
'LabVIEW.exe': Loaded 'C:\Program Files\National Instruments\LabVIEW 8.5\resource\Framework\Providers\LvRealTimeCoreProvider.mxx', No symbols loaded.
'LabVIEW.exe': Loaded 'C:\Program Files\National Instruments\LabVIEW 8.5\resource\Framework\Providers\MVEProvider.mxx', No symbols loaded.
'LabVIEW.exe': Loaded 'C:\Program Files\National Instruments\LabVIEW 8.5\QtCore4.dll', Binary was not built with debug information.
'LabVIEW.exe': Loaded 'C:\Program Files\National Instruments\LabVIEW 8.5\QtXml4.dll', Binary was not built with debug information.
'LabVIEW.exe': Loaded 'C:\Program Files\National Instruments\LabVIEW 8.5\QtGui4.dll', Binary was not built with debug information.
'LabVIEW.exe': Loaded 'C:\Program Files\National Instruments\LabVIEW 8.5\resource\Framework\Providers\mxLvProvider.mxx', No symbols loaded.
'LabVIEW.exe': Loaded 'C:\Program Files\National Instruments\LabVIEW 8.5\resource\Framework\Providers\nimxlcpp.mxx', No symbols loaded.
'LabVIEW.exe': Loaded 'C:\WINDOWS\system32\nimxlc.dll', No symbols loaded.
'LabVIEW.exe': Loaded 'C:\Program Files\National Instruments\LabVIEW 8.5\resource\Framework\Providers\variable.mxx', No symbols loaded.
'LabVIEW.exe': Loaded 'C:\Program Files\National Instruments\LabVIEW 8.5\resource\Framework\lvMax.dll', No symbols loaded.
'LabVIEW.exe': Loaded 'C:\Program Files\National Instruments\MAX\UI Providers\FieldPoint71.dll', No symbols loaded.
'LabVIEW.exe': Loaded 'C:\Program Files\National Instruments\LabVIEW 8.5\resource\MathScriptParser.dll', Binary was not built with debug information.
'LabVIEW.exe': Loaded 'Z:\bli\development\projects\galfitDLL\Debug\galfitDLL.dll', Symbols loaded.
'LabVIEW.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700\msvcr80.dll', No symbols loaded.
'LabVIEW.exe': Loaded 'C:\Program Files\National Instruments\LabVIEW 8.5\resource\mesa.dll', No symbols loaded.
'LabVIEW.exe': Loaded 'C:\WINDOWS\system32\mscms.dll', No symbols loaded.
'LabVIEW.exe': Loaded 'C:\WINDOWS\system32\icm32.dll', No symbols loaded.
The thread 'Win32 Thread' (0xf94) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x90c) has exited with code 3 (0x3).
The thread 'Win32 Thread' (0xfd0) has exited with code 3 (0x3).
The thread 'Win32 Thread' (0x284) has exited with code 3 (0x3).
The thread 'Win32 Thread' (0xdac) has exited with code 3 (0x3).
The thread 'Win32 Thread' (0xa98) has exited with code 3 (0x3).
The thread 'Win32 Thread' (0x528) has exited with code 3 (0x3).
The thread 'Win32 Thread' (0x614) has exited with code 3 (0x3).
The thread 'Win32 Thread' (0xa5c) has exited with code 3 (0x3).
The thread 'Win32 Thread' (0xebc) has exited with code 3 (0x3).
The thread 'Win32 Thread' (0x5cc) has exited with code 3 (0x3).
The thread 'Win32 Thread' (0x700) has exited with code 3 (0x3).
The thread 'Win32 Thread' (0xcf0) has exited with code 3 (0x3).
The thread 'Win32 Thread' (0xc7c) has exited with code 3 (0x3).
The thread 'Win32 Thread' (0x4c8) has exited with code 3 (0x3).
The thread 'Win32 Thread' (0xa4) has exited with code 3 (0x3).
The thread 'Win32 Thread' (0x52c) has exited with code 3 (0x3).
The program '[804] LabVIEW.exe: Native' has exited with code 3 (0x3).
Maybe you are looking for
-
Mobile me is still there and I don't have a mobile me account so I cannot log in.
-
Can we create a (RAC) db service to assign a conc mgr to an instance
Hi Everyone, Can we create a rac db service to for EBusiness? For example, can we create a service for AP module to run on instance1 of a two nodes RAC, and a service for PO to run on instance2. I know i can assign a node to a conc mgr and use the sp
-
Can I change the smtp server with Yahoo push account?
My yahoo email account will send and receive over EDGE using the default yahoo mail settings. On my home Cox internet WiFi network I can retrieve messages but cannot send. When sending it says it was sent and makes the "swooshing" mail sent sound, bu
-
How can I unlock the phone ?
hello. it's miyeon. I'm in korea for visiting my parents as a big holiday. I don't wanna get paid high fee with using roaming. I need you unlock my phone then I can use it in here during staying in korea. please give me a call or email me. my number
-
[SOLVED]Tor claims system clock is behind?
Exactly what the title says, not sure how to fix it seeing as my stystem clock's just fine. Any thoughts? Thanks, Cliff Last edited by cliffordsr (2013-08-25 20:46:27)